<template>
  <div class="h-full py-4 pointer-events-none flex items-center justify-center">
    <!-- <img class="m-auto" src="@/assets/svgs/empty.svg" />
    <div class="text-base text-sm text-[#00000035]">
      {{ description }}
    </div> -->
    <a-empty :image="image">
      <template #description>
        {{ description }}
      </template>
    </a-empty>
  </div>
</template>

<script setup>
import { Empty } from 'ant-design-vue'

defineProps({
  description: {
    type: String,
    default: '暂无数据'
  },
  image: {
    type: String,
    default: Empty.PRESENTED_IMAGE_SIMPLE
  }
})
</script>
